/**
 * <br>项目名: fastdfs-api
 * <br>文件名: UploadException.java
 * <br>Copyright 2015 恒昌互联网运营中心
 */
package com.credithc.fastdfs.api.exception;

import org.springframework.http.HttpStatus;

/** 
 * <br>类 名: UploadException 
 * <br>描 述: 描述类完成的主要功能 
 * <br>作 者: zj
 * <br>创 建： 2015年5月11日 
 * <br>版 本：v1.0.0 
 * <br>
 * <br>历 史: (版本) 作者 时间 注释
 */
public class UploadException extends Exception{

	/** **/
    private static final long serialVersionUID = -8277010834956829420L;
    private HttpStatus httpStatus;
    public UploadException(String message,HttpStatus httpStatus) {
        super(message);
        this.httpStatus=httpStatus;
    }
    
    public UploadException(){
    	
    }

	/** 
	 * 获取  httpStatus
	 * @return httpStatus
	 */
	public HttpStatus getHttpStatus() {
		return httpStatus;
	}
}
